Skip to content

Conversation

@encukou
Copy link
Member

@encukou encukou commented Jan 8, 2026

For vectorcall API, the underscore-prefixed provisional names continue to be available per PEP 590: https://peps.python.org/pep-0590/#finalizing-the-api

For PyCode API, use :no-typesetting: rather than index:: so that these are semantically documented as C functions.


📚 Documentation preview 📚: https://cpython-previews--143568.org.readthedocs.build/

For vectorcall API, the underscore-prefixed provisional names
continue to be available per PEP 590:
https://peps.python.org/pep-0590/#finalizing-the-api

For PyCode API, use `:no-typesetting:` rather than `index::` so that
these are semantically documented as C functions.
@encukou encukou requested a review from ZeroIntensity January 8, 2026 14:45
@bedevere-app bedevere-app bot added docs Documentation in the Doc dir skip news labels Jan 8, 2026
@github-project-automation github-project-automation bot moved this to Todo in Docs PRs Jan 8, 2026
@encukou encukou changed the title gh-141004: Document old provisional names for vectorcall API gh-141004: Document old provisional names for vectorcall/code API Jan 8, 2026
@encukou encukou added needs backport to 3.14 bugs and security fixes needs backport to 3.13 bugs and security fixes labels Jan 12, 2026
Copy link
Member

@ZeroIntensity ZeroIntensity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@encukou encukou merged commit 7e8a1b5 into python:main Jan 14, 2026
43 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Jan 14, 2026
@miss-islington-app
Copy link

Thanks @encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

@encukou encukou deleted the doc-backcompat-aliases branch January 14, 2026 09:54
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 14, 2026
…PI (pythonGH-143568)

pythongh-141004: Document old provisional names for vectorcall & code API

For vectorcall API, the underscore-prefixed provisional names
continue to be available per PEP 590:
https://peps.python.org/pep-0590/#finalizing-the-api
Use `versionadded`, `versionchanged`, and `:no-typesetting:`
to mark this up.

For PyCode API, use `:no-typesetting:` rather than `index::` so that
these are semantically documented as C functions.
(cherry picked from commit 7e8a1b5061313e03f99bc2ffa2062702bcc76426)

Co-authored-by: Petr Viktorin <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 14, 2026
…PI (pythonGH-143568)

pythongh-141004: Document old provisional names for vectorcall & code API

For vectorcall API, the underscore-prefixed provisional names
continue to be available per PEP 590:
https://peps.python.org/pep-0590/#finalizing-the-api
Use `versionadded`, `versionchanged`, and `:no-typesetting:`
to mark this up.

For PyCode API, use `:no-typesetting:` rather than `index::` so that
these are semantically documented as C functions.
(cherry picked from commit 7e8a1b5061313e03f99bc2ffa2062702bcc76426)

Co-authored-by: Petr Viktorin <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Jan 14, 2026

GH-143828 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Jan 14, 2026
@bedevere-app
Copy link

bedevere-app bot commented Jan 14, 2026

GH-143829 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants